package com.zhuimeng.monitor.bean;

public class MethodInfo {
    private String name;
    private long time;
    private long endTime;

    public MethodInfo() {
    }

    public MethodInfo(String name, long time, long endTime) {
        this.name = name;
        this.time = time;
        this.endTime = endTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "MonitorInfo{" +
                "name='" + name + '\'' +
                ", time=" + time +
                ", endTime=" + endTime +
                '}';
    }
}
